import './styles'

import {
    Canvas as FabricCanvas,
    Line   as FabricLine,
} from 'fabric'



import { testId } from './typescripts/tools'





function 主程序 () {
    const fabricCanvas1 = new FabricCanvas('canvas1')

    const line1 = new FabricLine(
        [100, 100, 200, 200],

        {
            stroke: 'red',
        }
    )

    fabricCanvas1.add(line1)
}

主程序()
